package where2go.sctu.com.zhiyou.entity;

import com.google.gson.Gson;

import org.json.JSONException;
import org.json.JSONObject;

import java.io.Serializable;
import java.util.List;

/**
 * ProjectName: zhiyou
 * PackageName: where2go.sctu.com.zhiyou.entity
 * Created by 张某人
 * CreatedTime:on 2018/5/20   18:11
 * Description:
 */

public class  ClassifyLeft implements Serializable{

    /**
     * msg : 查询成功
     * data : [{"parentId":220,"typeId":221,"typeName":"食在甘孜"},{"parentId":220,"typeId":222,"typeName":"味在阿坝"},{"parentId":220,"typeId":223,"typeName":"尝在凉山"}]
     * error : 0
     */


    private String msg;
    private int error;
    private List<DataBean> data;



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * parentId : 220
         * typeId : 221
         * typeName : 食在甘孜
         */

        private boolean chick;   //标识
        private int parentId;
        private int typeId;
        private String typeName;


        public boolean isChick() {
            return chick;
        }

        public void setChick(boolean chick) {
            this.chick = chick;
        }
        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }
    }
}
